package smetana.modules.business;

import smetana.domain.raw.Agent;

import java.util.List;

/**
 * @author dmitry.mamonov
 */
public interface BusinessAgent {
    Agent newAgent(String name);

    Agent findAgentById(Integer id);

    void saveAgent(Agent current);

    List<Agent> listAgents();
}
